#!/bin/bash
rm -rf ./doc
rm -rf ./.idea
rm -rf ./sql
docker-compose stop
git pull origin master
git reset origin/master
sed -i 's/127.0.0.1/db/g' ./TransfusionSystem/settings.py
sed -i 's/127.0.0.1/db/g' ./SocketServer/config.py
docker-compose up -d
docker-compose ps